package com.love.marriage.datingRegistrationInfo.mapper;

import com.love.marriage.datingRegistrationInfo.entity.DatingRegistrationInfo;
import com.love.marriage.datingRegistrationInfo.vo.DatingRegistrationInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

import java.util.List;

/**
 * description:  约会报名表 mapper
 * author:       mybatisPlus
 * createDate:   2024-10-15 23:02:33
 * version:      1.0.0
 */
@Mapper
public interface DatingRegistrationInfoMapper extends BaseMapper<DatingRegistrationInfo> {

    @DataPermission(table = "dating_registration_info_t")
    Page<DatingRegistrationInfoVo> getPage(Page<DatingRegistrationInfoVo> page, @Param("datingRegistrationInfoVo") DatingRegistrationInfoVo datingRegistrationInfoVo);

    List<DatingRegistrationInfoVo> getList(@Param("datingRegistrationInfoVo") DatingRegistrationInfoVo datingRegistrationInfoVo);

    DatingRegistrationInfoVo queryDatingRegistrationInfo(@Param("id") Long id);
}
